package com.xgp.company.创建型模式.第三种_建造者模式.通过静态内部类来实现;

/**
 * 抽象的建造者
 */
public abstract class Builder {

    abstract Builder buildA(String msg);     //汉堡
    abstract Builder buildB(String msg);     //可乐
    abstract Builder buildC(String msg);     //薯条
    abstract Builder buildD(String msg);     //甜点

    //完工：得到产品
    abstract Product getProduct();
}
